package com.dgw.service;

import java.util.List;

import com.dgw.entity.Course;
import com.dgw.entity.StudentCourseRel;
import com.dgw.utils.PageRows;
import com.github.pagehelper.PageInfo;

public interface CourseService {
	

	Course selectByPrimaryKey(String cId);
	
    int insert(Course record);

    int updateByPrimaryKeySelective(Course record);
	
    PageInfo<Course> selectByPageAndSelections(String keyword,PageRows pageRows);
    
    List<Course> selectAll();
    
    List<StudentCourseRel> selectStudentCourseRel(String sId);
    
    int updateStudentCourse(String sId,String[] cIds);
}
